<!--<include file="public+header">-->

<!--{~$sCalendarLang=Core_Extend::calendar()}-->
<script type="text/javascript" src="<!--{:__PUBLIC__}-->/js/calendar/datepicker/WdatePicker.js"></script>

<!--{script}-->
checkForm(SubmitFormCheckform);
<!--{/script}-->

	<section class="secondary_bar">
		<div class="breadcrumbs_container">
			<article class="breadcrumbs"><a href="<!--{:Q::U('public/fmain')}-->"><!--<lang package='Template'>-->主页<!--</lang>--></a> <div class="breadcrumb_divider"></div> <a class="current"><!--<if condition="empty( $_GET['value'] )" >-->添加商家通知<!--<else/>-->编辑商家通知<!--</if>--></a></article>
		</div>
	</section>

	<section id="main" class="column">
		<article class="module width_full">
			<header><h3><!--<lang package='Template'>-->操作提示<!--</lang>--></h3></header>
			<div class="module_content">
				<ul>
					<li>温馨提示：添加或编辑商家通知。</li>
				</ul>
			</div>
		</article>

		<article class="module width_full">
			<header><h3 class="tabs_involved"><!--<if condition="empty( $_GET['value'] )" >-->添加商家通知<!--<else/>-->编辑商家通知<!--</if>--></h3>
				<ul class="tabs">
					<li class="active"><a href="<!--{:Admin_Extend::base(array('controller'=>'jiajucompanynotice'))}-->">商家通知列表</a></li>
				</ul>
			</header>
			<form action="" method="post" id="jiajucompanynoticeAdd" class="validate">
				<div class="module_content">
					<fieldset>
						<label for="jiajucompanynotice_name">通知内容</label>
						<textarea name="jiajucompanynotice_content" id="jiajucompanynotice_content" class="{required:true,maxlength:256}" style="width:400px;height:60px;"><!--<if condition="isset( $oValue )">--><!--{$oValue:jiajucompanynotice_content}--><!--</if>--></textarea>
						<div class="description input_tips">通知内容不能为空，且最大长度不能超过256个字符。</div>
						<p class="input_errortips"></p>
					</fieldset>
					<fieldset>
						<label for="jiajucompanynotice_expiration">过期时间</label>
						<input type="text" id="jiajucompanynotice_expiration" name="jiajucompanynotice_expiration" value="<!--<if condition="isset( $oValue )">--><!--{$oValue['jiajucompanynotice_expiration']|date='Y-m-d',**}--><!--<else/>--><!--{:date('Y-m-d',(CURRENT_TIMESTAMP+2592000))}--><!--</if>-->" onfocus="WdatePicker({el:'jiajucompanynotice_expiration',skin:'ext',lang:'<!--{$sCalendarLang}-->',dateFmt:'yyyy-MM-dd'})" style="width:70px;">
						<div class="description input_tips">默认过期时间为一个月。</div>
						<p class="input_errortips"></p>
					</fieldset>
					<fieldset>
						<label for="jiajucompanynotice_status"><!--<lang package='Template'>-->状态<!--</lang>--></label>
						<select class="field" name="jiajucompanynotice_status">
							<option value="1" <!--<if condition="!isset( $oValue ) || ( isset( $oValue ) && $oValue:jiajucompanynotice_status==1)">-->selected<!--</if>-->><!--<lang package='Template'>-->启用<!--</lang>--></option>
							<option value="0" <!--<if condition="isset( $oValue ) && $oValue:jiajucompanynotice_status==0">-->selected<!--</if>--> ><!--<lang package='Template'>-->禁用<!--</lang>--></option>
						</select>
					</fieldset>
				</div>
				<footer>
					<div class="submit_link">
						<input type="hidden" name="ajax" value="1">
						<input type="hidden" name="value" id="value" value="<!--<if condition="isset( $_GET['value'] )">--><!--{$_GET['value']}--><!--</if>-->"/>
						<input type="submit" id="submit_button" value="" class="alt_btn">
						&nbsp;<input type="reset" value="<!--<lang package='Template'>-->重置<!--</lang>-->">
					</div>
				</footer>
			</form>
		</article>

<!--<include file="public+footer">-->